#include <stdlib.h>
#include <stdio.h>

#define MAX_REGISTERS	16

typedef struct
{
	int PID;
	int PC;
	int registers[MAX_REGISTERS];
	int baseRegister;
	int timeSlice;
} ProcessDescriptor;

typedef struct _ProcessList
{
	struct _ProcessList *next;
	struct _ProcessList *prev;
	ProcessDescriptor process;
} ProcessList;

void createProcess(ProcessList **processList, int PID, int baseRegister, int timeSlice);

void removeProcess(ProcessList **processList);

void moveProcess(ProcessList **moveFrom, ProcessList **moveTo);


